fix(schema): reject authored eval YAML workers - #1578
Merged
Conversation
christso
marked this pull request as ready for review
June 30, 2026 10:43
Deploying agentv with
|
| Latest commit: |
a90048c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c95b0ba1.agentv.pages.dev |
| Branch Preview URL: | https://christso-remove-authored-wor.agentv.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Eval files can no longer author concurrency through
workers; concurrency is now explicitly an operator/run setting from--workers, project config defaults, or target/provider caps. This keeps eval YAML focused on task definition, target binding, and policy while preserving the existing runtime worker execution path.The parser, validator, schema, SDK YAML authoring helpers, TS eval materialization, and eval bundle generation now reject or stop emitting authored
workers. Examples and docs now point users toward CLI/config concurrency instead of embedding worker counts in eval files.Validation
bun installbun --filter @agentv/core build && bun --filter @agentv/sdk buildbun --filter agentv buildbun test packages/core/test/evaluation/experiment.test.ts packages/core/test/evaluation/eval-inline-experiment.test.ts packages/core/test/evaluation/loaders/config-loader.test.ts packages/core/test/evaluation/loaders/ts-eval-loader.test.ts packages/core/test/evaluation/validation/eval-validator.test.tsbun test packages/core/test/evaluation/validation/eval-file-schema.test.tsbun test packages/sdk/test/eval-authoring.test.tsbun test apps/cli/test/eval.integration.test.ts apps/cli/test/commands/eval/vscode-worker-limit.test.ts apps/cli/test/commands/eval/bundle.test.tsbun run validate:examplesbunx biome checkon modified TypeScript filesNot run: full
bun run verify; live provider dogfood.